projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
951c9c5
)
listbase: Make up/down arrows work
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 6 Jun 2020 16:33:12 +0000
(12:33 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 6 Jun 2020 16:33:12 +0000
(12:33 -0400)
We were missing a binding for up/down without modifiers.
gtk/gtklistbase.c
patch
|
blob
|
history
diff --git
a/gtk/gtklistbase.c
b/gtk/gtklistbase.c
index 250e7b3619fedf92021c517c6b822c4de2c00316..27e5075ec3527e2daef26cae8afe231637d2b8fc 100644
(file)
--- a/
gtk/gtklistbase.c
+++ b/
gtk/gtklistbase.c
@@
-1066,6
+1066,11
@@
gtk_list_base_add_move_binding (GtkWidgetClass *widget_class,
GtkOrientation orientation,
int amount)
{
+ gtk_widget_class_add_binding (widget_class,
+ keyval,
+ 0,
+ gtk_list_base_move_cursor,
+ "(ubbbi)", orientation, TRUE, FALSE, FALSE, amount);
gtk_widget_class_add_binding (widget_class,
keyval,
GDK_CONTROL_MASK,